package com.ruoyi.hqfinance.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.logistic.domain.NetworkName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Timestamp;

@Data
public class HqOperateHandlingDetail implements Serializable {
    private static final long serialVersionUID = 8840410653879648208L;
    /** 主键 */
    private Integer id;

    /** 结算日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结算日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date settleDate;

    /** 任务号 */
    @Excel(name = "任务号")
    private String taskCode;

    /** 发车网点名称id */
    @Excel(name = "发车网点名称id")
    private Integer startNetworkNameId;

    /** 操作转运中心id */
    @Excel(name = "操作转运中心id")
    private Integer transferCentreId;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carCode;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String carType;

    /** 结算类型:1按重量收费;2按票收费;3按包仓收费;4按车型收费 */
    @Excel(name = "结算类型:1按重量收费;2按票收费;3按包仓收费;4按车型收费")
    private String settleType;

    /** 结算范围:1:按天 2:按月 */
    @Excel(name = "结算范围:1:按天 2:按月")
    private String settleScope;

    /** 装卸类型:1:进港-装车 2:出港-卸车 */
    @Excel(name = "装卸类型:1:进港-装车 2:出港-卸车")
    private String handlingType;

    /** 车辆尺寸 */
    @Excel(name = "车辆尺寸")
    private String carSize;

    /** 称重时间/入库 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "称重时间/入库", width = 30, dateFormat = "yyyy-MM-dd")
    private Date weightTime;

    /** 入站重量-毛重/KG */
    @Excel(name = "入站重量-毛重/KG")
    private Double inboundWeight;

    /** 出站重量/KG */
    @Excel(name = "出站重量/KG")
    private Double outboundWeight;

    /** 皮重/KG */
    @Excel(name = "皮重/KG")
    private Double tareWeight;

    /** 整车结算重量/KG */
    @Excel(name = "整车结算重量/KG")
    private Double fullCarSettleWeight;

    /** 结算金额 */
    @Excel(name = "结算金额")
    private BigDecimal settleAmount;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp updateTime;

    private NetworkName networkName;

    private HqTransferCentre hqTransferCentre;
}
